{% extends 'base.html' %}
{% block content %}
    {% for article_obj in article_queryset %}
        <div class="media">
            <h4 class="media-heading"><a href="/{{ username }}/article/{{ article_obj.pk }}">{{ article_obj.title }}</a></h4>
            <div class="media-body">
                {{ article_obj.desc }}
            </div>
            <div>
                <span>posted&nbsp;&nbsp;@&nbsp;&nbsp;</span>
                <span>{{ article_obj.create_time|date:'Y-m-d' }}&nbsp;&nbsp;</span>
                <span><a href="">{{ article_obj.blog.userinfo.username }}</a>&nbsp;&nbsp;</span>
                <span><span
                        class="glyphicon glyphicon-comment"></span>&nbsp;{{ article_obj.comment_num }}&nbsp;&nbsp;</span>
                <span><span class="glyphicon glyphicon-thumbs-up"></span>&nbsp;{{ article_obj.up_num }}</span>
                <span><a href="">编辑</a></span>
            </div>
        </div>
        <br>
    {% endfor %}
{% endblock %}